package org.example.bean;

import java.time.LocalDate;

public class StudentBean {
    /**编号*/
    private String stuID;
    /**姓名*/
    private String stuName;
    /**性别*/
    private String stuGender;
    /**班级*/
    private String stuClass;
    /**房间*/
    private String stuRoom;
    /**电话*/
    private String stuTel;
    /**头像*/
    private String stuImg;
    /**入住时间*/
    private LocalDate stuInDate = LocalDate.now();

    public StudentBean() {
    }

    public StudentBean(String stuName, String stuGender, String stuClass, String stuRoom, String stuTel, String stuImg) {
        this.stuName = stuName;
        this.stuGender = stuGender;
        this.stuClass = stuClass;
        this.stuRoom = stuRoom;
        this.stuTel = stuTel;
        this.stuImg = stuImg;
    }

    public StudentBean(String stuName, String stuGender, String stuTel, String stuImg) {
        this.stuName = stuName;
        this.stuGender = stuGender;
        this.stuTel = stuTel;
        this.stuImg = stuImg;
    }

    @Override
    public String toString() {
        return "\nStudentBean{" +
                "stuID='" + stuID + '\'' +
                ", stuName='" + stuName + '\'' +
                ", stuGender='" + stuGender + '\'' +
                ", stuClass='" + stuClass + '\'' +
                ", stuRoom='" + stuRoom + '\'' +
                ", stuTel='" + stuTel + '\'' +
                ", stuImg='" + stuImg + '\'' +
                ", stuInDate=" + stuInDate +
                '}';
    }

    public String getStuID() {
        return stuID;
    }

    public void setStuID(String stuID) {
        this.stuID = stuID;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getStuGender() {
        return stuGender;
    }

    public void setStuGender(String stuGender) {
        this.stuGender = stuGender;
    }

    public String getStuClass() {
        return stuClass;
    }

    public void setStuClass(String stuClass) {
        this.stuClass = stuClass;
    }

    public String getStuRoom() {
        return stuRoom;
    }

    public void setStuRoom(String stuRoom) {
        this.stuRoom = stuRoom;
    }

    public String getStuTel() {
        return stuTel;
    }

    public void setStuTel(String stuTel) {
        this.stuTel = stuTel;
    }

    public String getStuImg() {
        return stuImg;
    }

    public void setStuImg(String stuImg) {
        this.stuImg = stuImg;
    }

    public LocalDate getStuInDate() {
        return stuInDate;
    }

    public void setStuInDate(LocalDate stuInDate) {
        this.stuInDate = stuInDate;
    }
}
